package com.greyu.ysj.mapper;

import com.greyu.ysj.entity.CbtArea;
import com.greyu.ysj.entity.CbtAreaExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CbtAreaMapper {
    long countByExample(CbtAreaExample example);

    int deleteByExample(CbtAreaExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CbtArea record);

    int insertSelective(CbtArea record);

    List<CbtArea> selectByExample(CbtAreaExample example);

    CbtArea selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CbtArea record, @Param("example") CbtAreaExample example);

    int updateByExample(@Param("record") CbtArea record, @Param("example") CbtAreaExample example);

    int updateByPrimaryKeySelective(CbtArea record);

    int updateByPrimaryKey(CbtArea record);
    
    CbtArea selectByUserId(Integer userId);
}